﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VINETLIFE.DO;
using VINETLIFE.BL;
using System.Data;

namespace VINETLIFE.Module
{
    public partial class SearchByNSX : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                LoadOrigin();
        }

        private void LoadOrigin()
        {
            cmsOriginBL itemBL = new cmsOriginBL();
            DataTable tb = itemBL.SelectAll();
            rpListOrigin.DataSource = tb;
            rpListOrigin.DataBind();
        }

        protected string FriendlyUrl(string s)
        {
            return Ultility.Change_AV(s);
        }
    }
}